package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Transient;

/**
*
*
* @author quan
* @date 2021-07-24 17:08
*/
 

@Data
@Accessors(chain = true)
@TableName(value = "t_dynamic_comment")
public class TDynamicComment {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "dynamic_id")
    private Long dynamicId;

    @TableField(value = "m_id")
    private Long mId;

    @TableField(value = "message")
    private String message;

    @TableField(value = "reply")
    private String reply;

    @TableField(value = "add_time")
    private Date addTime;


    @TableField(exist = false)
    private String commentMember;
    @TableField(exist = false)
    @ApiModelProperty("头像")
    private String memberHead;
    @ApiModelProperty("点赞数量")
    @TableField(exist = false)
    private Integer follow;
    @ApiModelProperty("是否点赞")
    @TableField(exist = false)
    private boolean dianzan;
}